package com.uzai.console.mapper;

import com.uzai.console.entity.ZombieFanPassiveTaskSendInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ZombieFanPassiveTaskSendInfoMapper {
    int deleteById(Long id);

    int insert(ZombieFanPassiveTaskSendInfo record);

    int insertSelective(ZombieFanPassiveTaskSendInfo record);

    ZombieFanPassiveTaskSendInfo selectById(Long id);

    int updateByIdSelective(ZombieFanPassiveTaskSendInfo record);

    int updateById(ZombieFanPassiveTaskSendInfo record);

    //查询总数
    int selectCountByDeviceUniqueId(@Param("deviceUniqueId") Long deviceUniqueId, @Param("merId") Long merId);

    int deleteBeforeDay(@Param("beforeDay") Integer beforeDay);

}